if(CMAKE_SYSTEM_NAME MATCHES "Windows")
message(STATUS "Now is windows")
if(${CMAKE_BUILD_TYPE} STREQUAL "Debug")
  set(ABSL_HOME ${PROJECT_SOURCE_DIR}/src/third_party/abseil/lib/win/debug)
else()
  set(ABSL_HOME ${PROJECT_SOURCE_DIR}/src/third_party/abseil/lib/win/release)
endif()
elseif(CMAKE_SYSTEM_NAME MATCHES "Linux")
message(STATUS "Now is UNIX-like OS's.")
set(ABSL_HOME ${PROJECT_SOURCE_DIR}/src/third_party/abseil/lib/unix)
endif()

# Abseil lib
set(AbslLibs
  ${ABSL_HOME}/libabsl_base.so
  ${ABSL_HOME}/libabsl_int128.so
  ${ABSL_HOME}/libabsl_city.so
  ${ABSL_HOME}/libabsl_hash.so
  ${ABSL_HOME}/libabsl_hashtablez_sampler.so
  ${ABSL_HOME}/libabsl_random_seed_gen_exception.so
  ${ABSL_HOME}/libabsl_random_seed_sequences.so
  ${ABSL_HOME}/libabsl_raw_hash_set.so
  ${ABSL_HOME}/libabsl_malloc_internal.so
  ${ABSL_HOME}/libabsl_spinlock_wait.so
  ${ABSL_HOME}/libabsl_synchronization.so
  ${ABSL_HOME}/libabsl_throw_delegate.so
  ${ABSL_HOME}/libabsl_raw_logging_internal.so
  ${ABSL_HOME}/libabsl_time.so
  ${ABSL_HOME}/libabsl_time_zone.so
  ${ABSL_HOME}/libabsl_strings.so)
